

package com.googlecode.flac4j.format;


import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;


/**
 *
 * @author Jin Kwon <jinahya at gmail.com>
 */
public class JAXBConstants {


    public static final JAXBContext JAXB_CONTEXT;


    static {
        try {
            JAXB_CONTEXT = JAXBContext.newInstance(
            "com.googlecode.flac4j.format"
            + ":com.googlecode.flac4j.format.metadata"
            + ":com.googlecode.flac4j.format.frame");
            /*
            JAXB_CONTEXT = JAXBContext.newInstance(
            "com.googlecode.flac4j.format");
             */
            /*
            JAXB_CONTEXT = JAXBContext.newInstance(Stream.class);
             */
        } catch (JAXBException jaxbe) {
            throw new InstantiationError(jaxbe.getMessage());
        }
    }


    /**
     * Creates a new instance.
     */
    private JAXBConstants() {
        super();
    }


}

